package com.yjf.response;

import java.io.Serializable;

public class CommonResponse implements ICommonResponse, Serializable {

  private static final long serialVersionUID = -5910634580589596161L;

  private String code;

  private String msg;

  private Object datas;

  public CommonResponse(String code, String msg) {
    this.code = code;
    this.msg = msg;
  }

  public CommonResponse(String code, String msg, Object datas) {
    this.code = code;
    this.msg = msg;
    this.datas = datas;
  }

  @Override
  public String getMsg() {
    return this.msg;
  }

  @Override
  public void setMsg(String msg) {
    this.msg = msg;
  }

  @Override
  public String getCode() {
    return this.code;
  }

  @Override
  public void setCode(String code) {
    this.code = code;
  }

  @Override
  public Object getDatas() {
    return this.datas;
  }

  @Override
  public void setDatas(Object datas) {
    this.datas = datas;
  }
}
